﻿/**
 * Avro layout regular expression rules table for Bengali script
 * @author Junaid P V ([[user:Junaidpv]])
 * @date 2010-12-05
 * License: GPLv3, CC-BY-SA 3.0
 */
if(tr_bn_avro== undefined) var tr_bn_avro = {};
else tr_bn_avro = {};
tr_bn_avro.text = "Avro";
tr_bn_avro.description = "Avro transliteration scheme for Begnali";
// Normal rules
tr_bn_avro.rules = [
['([ক-হড়ঢ়য়])্?ররi','[^o`]', '$2ৃ'],
['ররi','[^o`]', 'ঋ'],

['(([ক-হড়ঢ়য়])|য়)o','[^o`]', '$2'], // য় cannot be included in the range, why? everywhere else it is OK!
['([ক-হড়ঢ়য়])a','[^o`]', '$2া'],
['([ক-হড়ঢ়য়])i','[^o`]', '$2ি'],
['([ক-হড়ঢ়য়])I','[^o`]', '$2ী'],
['([ক-হড়ঢ়য়])u','[^o`]', '$2ু'],
['([ক-হড়ঢ়য়])U','[^o`]', '$2ূ'],
['([ক-হড়ঢ়য়])o','[o`]', '$2ু'],
['([ক-হড়ঢ়য়])e','[^o`]', '$2ে'],
['([ক-হড়ঢ়য়])োI','[^o`]', '$2ৈ'],
['([ক-হড়ঢ়য়])O','[^o`]', '$2ো'],
['([ক-হড়ঢ়য়])োU','[^o`]', '$2ৌ'],

//'চচh','[^o`]', 'চ্চ'],

['([কঙলষস])(k|K)','[^o`]','$2্ক'],
['([ঙদল])(g|G)','[^o`]','$2্গ'],
['গg','[^o`]','জ্ঞ'],
['([চশ])c','[^o`]','$2্চ'],
['([জঞব])j','[^o`]','$2্জ'],
['নj','[^o`]','ঞ্জ'],
['([কটণনপলষস])T','[^o`]','$2্ট'],
['([ডণনল])D','[^o`]','$2্ড'],
['([গষহ])N','[^o`]','$2্ণ'],
['([কতনপশসহ])t','[^o`]','$2্ত'],
['([দনব])d','[^o`]','$2্দ'],
['([গঘণতধনপমশসহ])n','[^o`]','$2্ন'],
['([পমলস])p','[^o`]','$2্প'],
['([বমল])b','[^o`]','$2্ব'],
['([দম])(v|V)','[^o`]','$2্ভ'],
['([কগঙটণতদধনমলশষসহ])m','[^o`]','$2্ম'],
['([ক-ঘচ-ঝট-যলশ-হড়ঢ়য়])r','[^o`]','$2্র'],
['([কগপ-বমলশসহ])l','[^o`]','$2্ল'],
['([কনপ])s','[^o`]','$2্স'],
['([ক-হড়ঢ়য়])w','[^o`]','$2্ব'],
['([ক-হড়ঢ়য়])y','[^o`]','$2্য'],
['নc','[^o`]','ঞ্চ'],

['ত`','`' ,'ৎ'],

['ক্ক(h|H)','[^o`]','ক্ষ'],
['কশ(h|H)','[^o`]','ক্ষ'],
//'([অ-ঔা-ৌ])ররk','[^o]','$2র্ক'],

['ররk','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ক'],
['ররg','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্গ'],
['ররc','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্চ'],
['ররj','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্জ'],
['ররT','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ট'],
['ররD','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড'],
['ররN','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ণ'],
['ররt','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ত'],
['ররd','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্দ'],
['ররn','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ন'],
['ররp','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্প'],
['ররf','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ফ'],
['ররb','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ব'],
['ররv','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ভ'],
['ররm','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ম'],
['ররz','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য'],
['ররl','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ল'],
['ররS','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্শ'],
['ররs','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্স'],
['ররh','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্হ'],
['ররR','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড়'],
['রর(y|Y)','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য়'],

['শ(h|H)','S', 'ষ'],

['অo','[^`]', 'উ'],
['এe','[^o`]', 'ঈ'],

['কh','[^o`]', 'খ'],
['গh','[^o`]', 'ঘ'],
['ণg','[^o`]', 'ঙ'],
['চh','[^o`]', 'ছ'],
['জh','[^o`]', 'ঝ'],
['ণG','[^o`]', 'ঞ'],
['টh','[^o`]', 'ঠ'],
['ডh','[^o`]', 'ঢ'],
['তh','[^o`]', 'থ'],
['দh','[^o`]', 'ধ'],
['পh','[^o`]', 'ফ'],
['বh','[^o`]', 'ভ'],
['(সh)','[^o`]', 'শ'],
['ড়h','[^o`]', 'ঢ়'],
['ত্`','[^o`]', 'ৎ'],
['নg','[^o`]', 'ং'],
['ঃ`','[^o`]', ':'],
['ররi','[^o`]', 'ঋ'],
['ওI','[^o`]', 'ঐ'],
['ওU','[^o`]', 'ঔ'],

['(k|K)','' ,'ক'],
['(g|G)','' ,'গ'],
['(c|C)','' ,'চ'],
['j','' ,'জ'],
['T','' ,'ট'],
['D','' ,'ড'],
['N','' ,'ণ'],
['t','' ,'ত'],
['d','' ,'দ'],
['n','' ,'ন'],
['(p|P)','' ,'প'],
['f','' ,'ফ'],
['(b|B)','' ,'ব'],
['(v|V)','' ,'ভ'],
['(m|M)','' ,'ম'],
['z','' ,'য'],
['r','' ,'র'],
['(l|L)','' ,'ল'],
['S','' ,'শ'],
['s','' ,'স'],
['(h|H)','' ,'হ'],
['R','' ,'ড়'],
['(y|Y)','' ,'য়'],

['Z','' ,'্য'],

['o','' ,'অ'],
['(a|A)','' ,'আ'],
['i','' ,'ই'],
['I','' ,'ঈ'],
['u','' ,'উ'],
['U','' ,'ঊ'],
['e','' ,'এ'],
['O','' ,'ও'],

['0','' ,'০'],
['1','' ,'১'],
['2','' ,'২'],
['3','' ,'৩'],
['4','' ,'৪'],
['5','' ,'৫'],
['6','' ,'৬'],
['7','' ,'৭'],
['8','' ,'৮'],
['9','' ,'৯'],

['\\\\\\.','' ,'.'],

[',,','' ,'্'],
['\\:','' ,'ঃ'],
['\\^','' ,'ঁ'],
['\\.','' ,'।'],
['\\$','' ,'৳'],
['ঃ`','' ,':'],
['`','' ,'']
];